package org.dromara.xhlj.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.io.Serial;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;
import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.Id;
import jakarta.persistence.Table;
import org.dromara.starter.jpacomment.annotation.SailColumn;
import org.dromara.starter.jpacomment.annotation.SailIndex;
import org.dromara.starter.jpacomment.annotation.SailTable;
import org.dromara.starter.jpacomment.enums.IndexType;
/**
 * 大会签到对象 xhlj_sign
 *
 * @author yf
 * @date 2024-07-28
 */

@Data
@TableName("xhlj_sign")
@Entity
@Table(name = "xhlj_sign")
@SailTable(comment = "大会签到表", indexs = {})
public class XhljSign implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;
    public static final String TRANS_ID_TO_VO = "xhlj_sign_vo";
    public static final String TRANS_ID_TO_VO_LIST = "xhlj_sign_list";
    /**
     * 大会签到id
     */
    @TableId(value = "sign_id", type = IdType.AUTO)
    @Id
    private Integer signId;
    /**
     * 大会id
     */
    @SailColumn(comment = "大会id",type = "int", defaultValue = "NULL")
    @Column(name = "conference_info_id")
    private Integer conferenceInfoId;
    /**
     * 创建人sys_user（大会管理员/活动负责人）
     */
    @SailColumn(comment = "创建人sys_user（大会管理员/活动负责人）",type = "int", defaultValue = "NULL")
    @Column(name = "create_by")
    private Integer createBy;
    /**
     * 签到位置
     */
    @Column(name = "sign_location")
    @SailColumn(comment = "签到位置",type = "varchar(200)", defaultValue = "NULL")
    private String signLocation;
    /**
     * 大会签到流程
     */
    @Column(name = "sign_content")
    @SailColumn(comment = "大会签到流程",type = "text", defaultValue = "NULL")
    private String signContent;
    /**
     * 签到时间
     */
    @Column(name = "sign_time")
    @SailColumn(comment = "签到时间",type = "timestamp", defaultValue = "CURRENT_TIMESTAMP")
    private Date signTime;
    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    @Column(name = "create_time")
    @SailColumn(comment = "创建时间",type = "timestamp", defaultValue = "CURRENT_TIMESTAMP")
    private Date createTime;
    /**
     * 删除标志（0未删除，2已删除）
     */
    @TableLogic
    @TableField(fill = FieldFill.INSERT)
    @Column(name = "del_flag")
    @SailColumn(comment = "删除标志（0未删除，2已删除）",type = "char(1)", defaultValue = "0")
    private String delFlag;
}
